package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@ApiModel
@TableName("spu_tag")
@Accessors(chain = true)
public class SpuTag {
    /**
     * 分组标签id
     */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "分组标签id")
    private Integer id;
    /**
     * 分组标题
     */
    @ApiModelProperty(value = "分组标题")
    private String title;
    /**
     * 店铺Id
     */
    @ApiModelProperty(value = "店铺Id")
    private Integer shopId;
    /**
     * 状态(1为正常,-1为删除)
     */
    @ApiModelProperty(value = "状态(1为正常,-1为删除)")
    private int status;
    /**
     * 默认类型(0:商家自定义,1:系统默认)
     */
    @ApiModelProperty(value = "默认类型(0:商家自定义,1:系统默认)")
    private int isDefault;
    /**
     * 商品数量
     */
    @ApiModelProperty(value = "商品数量")
    private int prodCount;
    /**
     * 列表样式(0:一列一个,1:一列两个,2:一列三个)
     */
    @ApiModelProperty(value = "列表样式(0:一列一个,1:一列两个,2:一列三个)")
    private Integer style;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer seq;
}
